QTKit Threads Exporter
 
QTKitThreadsExporter is a simple Cocoa example demonstrating how to concurrently export up to four QTMovie objects on separate threads using the QTKit threading selectors added with the release of Mac OS X 10.5.
 
In the version of QuickTime 7.2 that ships with Mac OS X v10.5, new methods are provided that deal with thread-safety when using the QTKit framework.
These methods allow applications to manage QTMovie objects on current (non-main) threads. Specifically, five new methods belonging to the QTMovie class have been added. These include the following class and instance methods that deal with handling and managing thread-safety operations of movie objects: enterQTKitOnThread, enterQTKitOnThreadDisablingThreadSafetyProtection, exitQTKitOnThread, attachToCurrentThread, and detachFromCurrentThread.
For more information about these new methods, refer to their descriptions in the QTMovie class documentation in the QuickTime Kit Framework Reference.
Note: No QuickTime C APIs were used or abused in the creation of this sample.